<template>
  <div>
    <!-- 返回上一级页面 -->
    <router-link to="/home/found">
      <van-nav-bar left-arrow @click-left="onClickLeft" class="van" />
    </router-link>

    <!-- 添加动态框 -->
    <div>
      <textarea class="area"></textarea>
    </div>
    <!-- 两个小动态框 -->
    <div class="left">
      <textarea class="areaOne"></textarea>
      <textarea class="areaTwo"></textarea>
    </div>

    <!-- 话题，目标，位置input输入框 -->
    <div class="Input">
      <input class="m-Text-input" type="text" placeholder="话题" />
      <input class="m-Text-input" type="text" placeholder="目标" />
      <input class="m-Text-input" type="text" placeholder="位置" />
    </div>
    <!-- 草稿 -->
    <div class="widget">
      <div class="button-wrapper">
        <span class="text">草稿</span>
      </div>
    </div>
    <!-- 发布动态 -->
    <div class="button">
      <router-link to="/home/found/issue"
        ><input type="button" value="发布动态"
      /></router-link>
    </div>
  </div>
</template>

<script>
export default {
  methods: {
    onClickLeft() {},
  },
};
</script>

<style scoped>
.van {
  width: 48px;
  height: 48px;
  margin: 58px 0 0 42px;
}
.area {
  width: 644px;
  height: 240px;
  margin: 21px 0 48px 0;
  border-color: rgb(187, 187, 187);
  border-width: 1px;
  border-style: solid;
  font-size: 14px;
  padding: 0px;
  text-align: center;
  line-height: 20px;
  font-weight: normal;
  font-style: normal;
  background: rgb(206, 206, 206);
}

.left {
  display: flex;
  margin: 50px 0 20px 50px;
}

.areaOne {
  width: 224px;
  height: 200px;
  border-color: rgb(187, 187, 187);
  border-width: 1px;
  border-style: solid;
  font-size: 14px;
  padding: 0px;
  line-height: 20px;
  font-weight: normal;
  font-style: normal;
  background: rgb(206, 206, 206);
  margin-right: 10px;
}

.areaTwo {
  width: 224px;
  height: 200px;
  border-color: rgb(187, 187, 187);
  border-width: 1px;
  border-style: solid;
  font-size: 14px;
  padding: 0px;
  line-height: 20px;
  font-weight: normal;
  font-style: normal;
  background: rgb(206, 206, 206);
}

.Input {
  display: flex;
  justify-content: left;
  flex-direction: column;
  margin: 36px 0 0 50px;
}

input {
  width: 400px;
  height: 60px;
  margin-top: 20px;
  border: 1px solid black;
}

.button-wrapper {
  text-align: center;
  width: 100%;
  height: 100%;
}

.widget {
  width: 102px;
  height: 60px;
  line-height: 60px;
  border-color: rgb(187, 187, 187);
  border-width: 1px;
  border-style: solid;
  border-radius: 4px;
  font-size: 14px;
  text-align: center;
  margin: 180px 0 0 50px;
}
.button input {
  width: 488px;
  height: 6 0px;
  position: absolute;
  margin: -60px 0 0 -180px;
  color: black;
}
</style>
